package com.chentf;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

/**
 * @author chentengfei
 * @desc ...
 * @date 2021-08-21 16:28:39
 */
@SpringBootApplication
//开启服务注册  consul server  nacos server  这个注解可以省略不写,默认导入依赖后就可以进行服务注册
//@EnableDiscoveryClient
public class NacosClientApplication {
    public static void main(String[] args) {
        SpringApplication.run(NacosClientApplication.class,args);
    }
}
